package com.woniuxy.health.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.health.commons.entity.Package;
import com.woniuxy.health.project.mapper.PackageMapper;
import com.woniuxy.health.project.service.PackageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class PackageServiceImpl extends ServiceImpl<PackageMapper, Package> implements PackageService {
    @Autowired
    private PackageMapper packageMapper;

    @Override
    @Transactional
    public List<Package> fingAllPackages() {
        return  packageMapper.fingAllPackages();
    }
}
